package one.stand.mapper;

import one.stand.model.AdminMenuModel;
import one.stand.model.Menu;
import one.stand.model.MenuModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapperExt extends MenuMapper {

    List<MenuModel> selectList(MenuModel record);

    List<MenuModel> selectAllList(MenuModel record);

    List<MenuModel> select(MenuModel record);

    List<Menu> selectAll(@Param("menuId") Integer menuId, @Param("menuType") Integer menuType);

    int delAdminMenu(@Param("adminId") Integer adminId);

    int insertAdminMenu(@Param("list") List<AdminMenuModel> list);
}